home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
S3D_2E1.exe
/
Shout3d_runtime
/
codebase
/
models
/
chooseTwoTextures.wrl
< prev
next >
Wrap
Text File
|
2000-07-07
|
701b
|
22 lines
#VRML V2.0 utf8
Switch {
whichChoice -1
choice [ DEF TEX_1 ImageTexture { url "images/shared/sky.gif" } DEF TEX_2 ImageTexture { url "images/shared/round_fake_shadow.jpg" }
]}
Transform {
children Shape {
appearance DEF MY_APPEARANCE Appearance {
material Material { diffuseColor 1 1 1 }
}
geometry IndexedFaceSet {
coord Coordinate {
point [ -1 1 1, -1 -1 1, 1 1 1, 1 -1 1 ]
}
texCoord TextureCoordinate {
point [ -1 -1, -1 1, 1 1, 1 -1 ]
}
coordIndex [ 0, 1, 3, 2, -1]
texCoordIndex [ 0, 1, 2, 3, -1 ] } }
}